<?php
/**
 * Created by sublime 3.
 * Auth: Inhere
 * Date: 14-8-14
 * Time: 22:35
 * Uesd: 主要功能是 Backup
 */
namespace ulue\libs\backup;

use ulue\core\ioc\Container;

class Backup
{
    public $config = [];
    public $container;

    public function __construct(Container $container)
    {
        if ($container) {
            $this->container = $container;
            $this->config = $container->get('app.config')->get('backup');
        }
    }

    public function getConfig()
    {
        $this->config = \Ulue::$app->get('backup');
    }

    public function config()
    {
        return [];
    }

    public function defaultConfig()
    {

    }
}